<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var uri = "http://www.wrox.com/illegal value.htm#start";
			console.log(encodeURI(uri));
			console.log(encodeURIComponent(uri));
		</script>
	</body>
</html>
